package com.topdt.jbpm.web.servlet.view;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;


public class Label {
	@XmlAttribute
	private String assignee;
	@XmlAttribute
	private String name;
	@XmlAttribute
	private String g;
	@XmlElement
	private List<Transition> transition;
	@XmlElement
	private AssignmentHandler assignmentHandler;
	
	
	//add by calonlan
	@XmlAttribute
	private String multiplicity;
	@XmlAttribute
	private String in;
	@XmlAttribute
	private String var;
	@XmlAttribute
	private String expr;
	@XmlAttribute
	private String desc;
	@XmlElement
	private On on;
	
	@XmlElement
	private Handler handler;
	
	@XmlTransient
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@XmlTransient
	public String getG() {
		return g;
	}
	public void setG(String g) {
		this.g = g;
	}
	@XmlTransient
	public List<Transition> getTransition() {
		return transition;
	}
	public void setTransition(List<Transition> transition) {
		this.transition = transition;
	}
	@XmlTransient
	public AssignmentHandler getAssignmentHandler() {
		return assignmentHandler;
	}
	public void setAssignmentHandler(AssignmentHandler assignmentHandler) {
		this.assignmentHandler = assignmentHandler;
	}
	@XmlTransient
	public String getAssignee() {
		return assignee;
	}
	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}
	@XmlTransient
	public String getMultiplicity() {
		return multiplicity;
	}
	public void setMultiplicity(String multiplicity) {
		this.multiplicity = multiplicity;
	}
	@XmlTransient
	public String getIn() {
		return in;
	}
	public void setIn(String in) {
		this.in = in;
	}
	@XmlTransient
	public String getVar() {
		return var;
	}
	public void setVar(String var) {
		this.var = var;
	}
	@XmlTransient
	public On getOn() {
		return on;
	}
	public void setOn(On on) {
		this.on = on;
	}
	@XmlTransient
	public String getExpr() {
		return expr;
	}
	public void setExpr(String expr) {
		this.expr = expr;
	}
	@XmlTransient
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	@XmlTransient
	public Handler getHandler() {
		return handler;
	}
	public void setHandler(Handler handler) {
		this.handler = handler;
	}

	
}
